package cn.tedu.community.commons.pojo.notice.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 公告详情VO
 */
@Data
public class AdmNoticeStandardVO implements Serializable {
    private Long id;

    private String admName;

    private String title;

    private String photo;

    private String content;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime noticeCreate; //公告添加时间

    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime noticeModified; //数据修改时间
}
